import '../../assets/flexible.js'
import $ from '../../assets/jquery-vendor.js'
import '../../assets/common.scss'
import './style.scss'

$(function(){
  var buts = $('.stepbut')
  var steps = $('.step')
  // console.log (buts)
  // console.log (steps)
  $('.step').hide()
  $('#step1').show()

  $('.stepbut').each(function(i){
    $(this).click(function(){
      // console.log(i)
      // console.log('#step'+(i+1))
      var step = '#step'+(i+2)
      if(i<=2) {
        $('.step').hide()
        $(step).show()
      }
    })
  })
})